package com.gwclh.personnel.vo.uservo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;

@Data
public class EntryVo {
    @ApiModelProperty(value = "部门id")
    @NotNull(message = "部门不能为空")
    private Integer deptId;

    @ApiModelProperty(value = "岗位id")
    @NotNull(message = "岗位不能为空")
    private Integer staId;

    @ApiModelProperty(value = "入职时间")
    @NotNull(message = "入职时间不能为空")
    private Date empDate;

    @ApiModelProperty(value = "参加工作日期")
    @NotNull(message = "参加工作日期不能为空")
    private Date workDate;

    @ApiModelProperty(value = "用工形式1：正式员工，2：临时员工；默认1")
    @NotNull(message = "用工形式不能为空")
    private Boolean empType;

    @ApiModelProperty(value = "是否是实习生，0不是，1是，默认1")
    private Boolean isInternship;

    private String[] internshipDate;
}
